import request from '@/utils/request'

// 查询地区
export function findRegion (pid) {
  return request({
    url: '/region/findRegion',
    method: 'post',
    data:pid
  })
}

// 上传图片
export function uploadImg (data) {
  return request({
    url: '/uploadDownload/api/imgUpload',
    method: 'post',
    data:data
  })
}

// 获取手机验证码
export function findPhoneCode(data){
  return request({
    url: '/code/shortMessage',
    method: 'post',
    data:data
  })
}
